﻿using furion.blog.Domain.Query.Feedback;
using furion.blog.Domain.Shared;
using furion.blog.Domain.Shared.Dto.Feedback;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace furion.blog.Application.Contracts
{
    public interface IFeedbackService
    {
        /// <summary>
        /// 新增反馈信息
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<bool> Add(FeedbackCreateDto dto);

        /// <summary>
        /// 分页
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<PageVO> List(FeedbackListQuery query);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="feedbackId"></param>
        /// <returns></returns>
        Task<bool> Del(long feedbackId);
    }
}
